package Smt.Util;

import java.util.Date;

public class Bill {

	private int id;//账单编号
	private double price;//账单金额
	private String unit;//交易单位
	private int num;//交易数量
	private String name;//商品名称
	private String description;//商品描述
	private int s_id;//所属供应商编号
	private String s_name;//所属供应商
	private String pay;//交易情况
	private Date date;//交易时间

	public Bill(int id, double price, String unit, int num, String name, String description, String sName, String pay, Date date) {
		this.id = id;
		this.price = price;
		this.unit = unit;
		this.num = num;
		this.name = name;
		this.description = description;
		this.s_name = sName;
		this.pay = pay;
		this.date = date;
	}

	public Bill(int id, double price, String unit, int num, String name, String description, int s_id, String pay) {
		this.id = id;
		this.price = price;
		this.unit = unit;
		this.num = num;
		this.name = name;
		this.description = description;
		this.s_id = s_id;
		this.pay = pay;
	}

	public int getS_id() {
		return s_id;
	}

	public void setS_id(int s_id) {
		this.s_id = s_id;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public void setnum(int num) {
		this.num = num;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getS_name() {
		return s_name;
	}

	public void setS_name(String sName) {
		s_name = sName;
	}

	public String getPay() {
		return pay;
	}

	public void setPay(String pay) {
		this.pay = pay;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
}
